﻿namespace Frame.Core.Common.Auth
{
    /// <summary>
    /// 用户信息接口
    /// </summary>
    public interface IUser
    {
        /// <summary>
        /// 主键
        /// </summary>
        int Id { get; }

        /// <summary>
        /// 用户名
        /// </summary>
        string Name { get; }

        /// <summary>
        /// 昵称
        /// </summary>
        string ChineseName { get; }


        /// <summary>
        /// 任务角色
        /// </summary>
        string TaskRoleId { get; }


        /// <summary>
        /// 所属部门
        /// </summary>
        string DeptId { get; }

    }
}
